<!-- 店长 – 我的 – 所在团队 – 4   		Editing -->
<template>
	<view class="warps">
		<view class="w90" v-for="(item,index) in list" :key="index">
			<view class="w95 f b c">
				<view class="vw55 f b c">
					<view>
						<text>{{item.xingm}}</text>
					</view>
					<view class="vw30">
						<text class="fs24">{{item.name}}</text>
					</view>
				</view>
				<view>
					<text v-if="index == 0 || index == 2" class="fs16 blue">编辑</text>
					<image v-else style="width: 24rpx;height: 24rpx;" src="../../../../static/img/028.png" mode=""></image>
				</view>
			</view>
			<view class="quanxian"></view>
		</view>
		<view>
			<view class="Editing">
				<button class="Editing-but" type="default">保存</button>
			</view>
			<view class="Editing-s">
				<text>删除员工</text>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				list: [{
						name: '姓名',
						xingm:'姓名'
					},
					{
						name: '性别',
						xingm:'性别'
					},
					{
						name: '123 1234 5678',
						xingm:'电话'
					},
					{
						name: '部门',
						xingm:'部门'
					},
					{
						name: '职位',
						xingm:'职位'
					},
					{
						name: '入职时间入职时间',
						xingm:'入职时间'
					}
				]
			}
		},
		onLoad() {
			// 动态导航条文字
			uni.setNavigationBarTitle({
				title: '编辑员工'
			})
		},
		methods: {
			
		}
	}
</script>

<style scoped>
	.warps {
		/* height: 95vh; */
		overflow: hidden;
		background-color: #fff;
	}
	.Editing{
		margin-top:300rpx;
	}
	.Editing-s{
		margin:0 auto;
		width:120rpx;
		height: 34rpx;
		color:red;
		margin-top:20rpx;
		text-decoration:underline;
	}
	.Editing-but{
		width: 280rpx;
		height: 66rpx;
		line-height:66rpx;
		opacity: 1;
		background: #1f73f2;
		border-radius: 8rpx;
		font-size: 24rpx;
		color:#fff;
	}
</style>
